<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
<div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-12">

    <div class="row ">
        <div class="col-sm-2">
            <input type="text" class="form-control" ng-model="searchform.code" placeholder="订单编号">            
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control" ng-model="searchform.title" placeholder="订单标题">
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control" ng-model="searchform.business_code"  placeholder="商家编号">
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control" ng-model="searchform.mobile"  placeholder="手机号">
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control" ng-model="searchform.verification_code"  placeholder="验证码">
        </div>
        <div class="col-sm-2">
            <ui-select ng-model="searchform.pay_state" theme="bootstrap" >
                <ui-select-match placeholder="支付状态">
                    {{$select.selected.label}}
                </ui-select-match>
                <ui-select-choices repeat="pay_state.value as pay_state in pay_statearr | filter: $select.search">
                    <span ng-bind-html="pay_state.label | highlight: $select.search"></span>
                </ui-select-choices>
            </ui-select>
        </div>
    </div>
    <div class="row mt10">
        <div class="col-sm-2">
            <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date.lable" is-open="date.opened" 
                readonly close-text="关闭" current-text="今天" clear-text="清除" ng-click="dateOpen($event, date)" placeholder="起始时间"/>
        </div> 
        <div class="col-sm-2">
            <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date1.lable" is-open="date1.opened" 
                readonly close-text="关闭" current-text="今天" clear-text="清除" ng-click="dateOpen($event, date1)" placeholder="结束时间"/>
        </div>
         
        <div class="col-sm-2 col-sm-offset-6">
            <button type="button btn" class="btn btn-block btn-info" ng-click="load()">立即搜索</button>
        </div>

    </div>
        
    

</div>
</div>
</div>
<!-- searchArea -->

<div class="panel panel-default">
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
                    <th class="col-md-2 text-center">订单名称</th>
                    <th class="col-md-1 text-center">订单编号</th>
                    <th class="col-md-2 text-center">商家信息</th>
                    <th class="col-md-1 text-center">手机号</th>
                    <th class="col-md-1 text-center">数量</th>
                    <th class="col-md-1 text-center">验证码</th>
                    <th class="col-md-2 text-center">下单时间</th>
                    <th class="col-md-1 text-center">订单状态</th>
                    <th class="col-md-1 text-center">操作</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="">{{obj.title}}</td>
                    <td class="text-center">{{obj.code}}</td>
                    <td class="text-center">{{obj.business_code}}<br>{{obj.name}}</td>
                    <td class="text-center">{{obj.mobile}}</td>
                    <td class="text-center">
                        <span>购买{{obj.num}}</span><br>
                        <span>使用{{obj.used}}</span>
                    </td>
                    <td class="text-center">{{obj.verification_code}}</td>
                    <td class="text-center">{{obj.create_time}}</td>
                    <td class="text-center">{{obj.statename}}</td>
                    <td class="text-center">
                        <a ng-click="voucherinfo(obj.code)" class="btn btn-success btn-xs" ng-show="obj.pay_state=='1' || obj.pay_state=='2'">码信息</a>
                        <a ng-click="orderinfo(obj)" class="btn btn-info btn-xs">订单详情</a>
                    </td>
                </tr>
                </tbody>
        </table>
        <!--<div class="text-right">
             <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="getlist()" previous-text="上一页" next-text="下一页"
                first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
        </div>-->
    </div>
</div>

</div>


